package web.req;

import org.hibernate.validator.constraints.NotBlank;
import web.Request;

/**
 * Created by aceyin on 15/6/18.
 */
public class LoginRequest extends Request {
    @NotBlank(message = "{login.username.is.required}")
    private String username;
    @NotBlank(message = "{login.password.is.required}")
    private String password;

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }
}
